Skip to content

MINOR: tidy up SocketServerMemoryPoolTest#21873

Open
edoardocomar wants to merge 3 commits intoapache:trunkfrom
edoardocomar:ec/KAFKA-20302-test-tidy
Open

MINOR: tidy up SocketServerMemoryPoolTest#21873
edoardocomar wants to merge 3 commits intoapache:trunkfrom
edoardocomar:ec/KAFKA-20302-test-tidy

Conversation

@edoardocomar
Copy link
Copy Markdown
Contributor

@edoardocomar edoardocomar commented Mar 26, 2026

  • moved to package org.apache.kafka.common
  • use IntegrationTestUtils and RequestUtils to create messages
  • made SocketServer MemoryPool accessible for testing

following up comments in #21740

note that the MemoryPoolAvailable metrics is registered in the singleton
default Yammer registry and it is not scoped per listener because there
is one pool per SocketServer, not one per listener. So it is not usable
in this ClusterTest.

@github-actions github-actions bot added the triage PRs from the community label Mar 26, 2026
@edoardocomar edoardocomar requested a review from mimaison March 26, 2026 02:42
@github-actions github-actions bot added core Kafka Broker clients small Small PRs labels Mar 26, 2026
@edoardocomar edoardocomar force-pushed the ec/KAFKA-20302-test-tidy branch from c49e6f9 to 71d21c7 Compare March 26, 2026 02:45
* moved to package org.apache.kafka.common
* use IntegrationTestUtils and RequestUtils to create messages
* made SocketServer MemoryPool accessible for testing
@edoardocomar edoardocomar force-pushed the ec/KAFKA-20302-test-tidy branch from 71d21c7 to 7f38206 Compare March 26, 2026 02:48
@edoardocomar edoardocomar requested a review from showuon March 26, 2026 11:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

clients core Kafka Broker small Small PRs triage PRs from the community

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant